package com.relytosoft.mizar.analyze.base.entity.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 实时分析任务请求实体
 *
 * @Author SunLi
 * @Date: 2022/5/13 10:44
 * @Version 1.0
 */
@ApiModel("实时分析任务请求实体")
public class TaskRequestDto implements Serializable {

    /**
     * 平台子任务ID
     */
    @ApiModelProperty(value = "平台子任务ID")
    private Integer id;
    /**
     * 设备ID
     */
    @ApiModelProperty(value = "设备ID")
    private String deviceId;
    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    private String deviceName;
    /**
     * 任务名称
     */
    @ApiModelProperty(value = "任务名称")
    private String taskName;
    /**
     * 设备RTSP流URL
     */
    @ApiModelProperty(value = "设备RTSP流URL")
    private String rtspUrl;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getRtspUrl() {
        return rtspUrl;
    }

    public void setRtspUrl(String rtspUrl) {
        this.rtspUrl = rtspUrl;
    }


    @Override
    public String toString() {
        return "TaskRequestDto{" +
                "id=" + id +
                ", deviceId='" + deviceId + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", taskName='" + taskName + '\'' +
                ", rtspUrl='" + rtspUrl + '\'' +
                '}';
    }
}
